home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / DataCars.cab / _502A7BB6F10145E6A8EAA55C4CE05E88 < prev    next >
Encoding:
Text File  |  2004-04-05  |  854 b   |  41 lines

  1. // generated file - max export plugin
  2. // origin: GlassDroplet.max
  3.  
  4. Shader()
  5. {
  6.     NoLightmaps()
  7.     sortweight("translucent8")
  8.     Pass()
  9.     {
  10.         tmu()
  11.         {
  12.             TexGen("reflection")
  13.             Texture()
  14.             {
  15.                 Cubemap(%worldcubemapfile)
  16.             }
  17.             //ColorOp("mul", "texture", "tfactor", "current")
  18.             AlphaOp("arg2", "texture", "tfactor", "current")
  19.         }
  20.         tmu()
  21.         {
  22.             Texture()
  23.             {
  24.                 Mapchannel(0)
  25.                 Image("GlassDrop.dds")
  26.             }
  27.             ColorOp("arg2", "texture", "current", "current")
  28.             AlphaOp("mul", "texture", "tfactor", "current")
  29.         }
  30.         Tfactor(%daycolor_a, %daycolor_a, %daycolor_a, 0.5)
  31.         BlendFunc("src_alpha", "inv_src_alpha")
  32.         AlphaFunc("gequal", 32)
  33.     }
  34.  
  35.     Cull("none")
  36.  
  37.  
  38. }
  39.  
  40.  
  41.